Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
IIndexJob::IsThreadDoneWait Method
IIndexJob Interface | IIndexJob Interface | Send Feedback

Returns true if an indexing thread started by ExecuteInThread is done.

[id(48), helpstring("method IsThreadDoneWait")]
HRESULT IsThreadDoneWait([in] LONG millisecondsToWait, [out,retval] VARIANT_BOOL* pVal);
Description

IsThreadDoneWait will return immediately if the thread is done, or it will wait up to millisecondsToWait to return if the thread is not done yet. IsThreadDoneWait should be called when you are checking in a loop, so the indexing thread will have a chance to complete.

Interface
Links
You are here: COM Interface > Interfaces > IIndexJob Interface > IIndexJob::IsThreadDoneWait Method
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.